package com.example.demo.service;

import java.util.Map;

/**
 * @Author
 * @Description
 */
public interface RedisService {
    boolean add(String key, Map<Object, Object> value);
    boolean remove(String key);

    Map<Object, Object> findByKey(String key);

    boolean updateTimeByKey(String key, long time);

}
